package org.zn.quality.dao;

import java.util.List;

import org.zn.quality.entity.po.QualityStrategyInfoPo;

public interface QualityStrategyInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QualityStrategyInfoPo row);

    QualityStrategyInfoPo selectByPrimaryKey(Long id);

    List<QualityStrategyInfoPo> selectAll();

    int updateByPrimaryKey(QualityStrategyInfoPo row);
    
    List<QualityStrategyInfoPo> selectByJob(Long jobId);
    
    int clearJobStrategy(Long jobId);
    
    List<QualityStrategyInfoPo>  selectAvailableByType(String ruleType);
}